﻿namespace TestTool.GUI.Data
{
    using System;
    using System.Collections.Generic;
    using System.Runtime.CompilerServices;
    using System.Xml.Serialization;

    [Serializable, XmlRoot("Settings")]
    public class ProfilesSet
    {
        public ProfilesSet()
        {
            this.Profiles = new List<Profile>();
        }

        public void Add(Profile profile)
        {
            this.Profiles.Add(profile);
        }

        [XmlArray("Profiles")]
        public List<Profile> Profiles { get; set; }
    }
}

